package com.woniu.liuzhougov.itemAndTask.pojo;

import com.woniu.liuzhougov.authorityControl.verification.Register;

import javax.validation.constraints.NotNull;

/*
 * @Author Wuyuzhong
 * @Description 地区
 * @Date 2019/4/19 14:32
 **/
public class Area {
    @NotNull(message = "地区id不能为空", groups = {Register.class})
    private Integer areaId;

    private String areaName;

    public Integer getAreaId() {
        return areaId;
    }

    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    @Override
    public String toString() {
        return "Area{" +
                "areaId=" + areaId +
                ", areaName='" + areaName + '\'' +
                '}';
    }
}